<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/11/16
 * Time: 10:18
 */

namespace Admin\Models\user;

use Admin\Models\BaseModel;

class XhsysUserPayVoucherLog extends BaseModel
{

    /**
     *
     * @var integer
     */
    public $iId;

    /**
     *
     * @var integer
     */
    public $iPayId;


    /**
     * @var string
     */
    public $sContent;


    /**
     *
     * @var integer
     */
    public $bDelete;

    /**
     *
     * @var string
     */
    public $tCreateDate;

    /**
     *
     * @var string
     */
    public $iCreateUserId;

    /**
     *
     * @var string
     */
    public $tLastModifyDate;

    /**
     *
     * @var string
     */
    public $iLastModifyUserId;


    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        parent::initialize();
        $this->setSource("'XHSys_UserPayVoucher'");
    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'XHSys_UserPayVoucherLog';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return XHSys_UserPayVoucherLog[]
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return XHSys_UserPayVoucherLog
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }

}